{% extends "cashflow/base.html" %}
{% load i18n %}

{% block nav %}
  {% include "cashflow/nav.html" %}
{% endblock %}

{% block subnav %}
{% endblock %}

{% block toolbar %}
Add Transaction
{% endblock %}


{% block content %}

<h2>Billing List</h2>
<table class="data" id="datatable" style="font-size:12px;">
  <thead>
    <tr>
      <th>Status</th>
      <th>Due</th>  
      <th>Name</th>
      <th>Amount</th>
      <th>Type</th>
      <th>How Often</th>
      <th>Action</th>      
    </tr>
	</thead>
	<tbody>

  {% for bill in bills %}
    <tr>
      <td>Status</td>
      <td>Due</td>  
      <td>{{ bill.name }}</td>
      <td>{{ bill.amount }}</td>
      <td>{{ bill.category }}</td>
      <td>{{ bill.rule.frequency }}</td>
      <td>Edit/Delete</td>      
    </tr>
  {% endfor %}
    
  </tbody>
	<tfoot>
		<tr>
      <th>Status</th>
      <th>Due</th>  
      <th>Name</th>
      <th>Amount</th>
      <th>Type</th>
      <th>How Often</th>
      <th>Action</th>   
		</tr>
	</tfoot>  
</table>
      

{% endblock %}